UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The system must implement non-executable program stacks.


Overview

Finding ID Version Rule ID IA Controls Severity
V-11999 GEN003540 SV-35009r1_rule ECSC-1 Medium
Description
A common type of exploit is the stack buffer overflow. An application receives, from an attacker, more data than it is prepared for and stores this information on its stack, writing beyond the space reserved for it. This can be designed to cause execution of the data written on the stack. One mechanism to mitigate this vulnerability is for the system to not allow the execution of instructions in sections of memory identified as part of the stack.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-03-01

Details

Check Text ( C-36498r1_chk )
Determine if the system implements non-executable program stacks.
# kctune | grep -i "executable_stack" | tr '\011' ' ' | tr -s ' ' | \
sed -e 's/^[ \t]*//' | cut -f 2,2 -d " "

If the executable_stack tunable is set to 1, this is a finding.

Fix Text (F-31853r1_fix)
# kctune executable_stack=0

The system will require a restart/reboot for the setting to take effect.